package com.dhecp.project.logstics.service;

import com.dhecp.common.core.domain.AjaxResult;
import com.dhecp.project.logstics.domain.FbaDevanning;
import com.dhecp.project.logstics.domain.FbaDevanningDetail;

import java.util.List;
import java.util.Map;

/**
 * 头程拆箱单  业务层
 * @Author fxz
 * @Date 2022/9/23
 */
public interface FbaDevanningService {
    /**
     * 查询头程装箱单
     * @param params
     * @Author: fxz
     * @date: 2022/9/22
     */
    List<FbaDevanning> queryList(Map<String, Object> params) throws Exception;

    List<FbaDevanningDetail> querySonList(Map<String, Object> params) throws Exception;

        /**
    *@Description: 查询指定单nid的首记录
    *@Param: [params]
    *@return: com.dhecp.project.purchase.domain.PurchasePlan
    *@Author: hlf
    *@date: 2022-08-15 15:41
    */
    FbaDevanning queryFirstRecord(Map<String, Object> params) throws Exception;


    AjaxResult saveData(Map<String, Object> params);

    /**
     *@Description: 修改审核状态
     *@Param: guid 唯一标识
     *@return: com.dhecp.common.core.domain.AjaxResult
     *@Author: hlf
     *@date: 2022-08-17 14:56
     */
    AjaxResult updateState(Map<String, Object> params);
}
